<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <app-child v-for="item in list" :key="item" :item="item"></app-child>
    </div>

    <script src="../Vue.js"></script>
    <script>
      Vue.component("app-child", {
        props: ["item"],
        template: `
          <div>app-child - {{ item }}</div>
        `,
      });
      new Vue({
        el: "#app",
        data: {
          list: [111, 222, 333],
        },
      });
    </script>
  </body>
</html>
